package com.xmotor.test_import_annotation.config;

import com.xmotor.test_import_annotation.model.TestB;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description 产生TestB的配置类
 * @Author Dang Xianyue
 * @Date 2020-08-15 13:57
 * @Version 1.0
 */
@Configuration
public class TestBConfig {

    @Bean
    public TestB getTestB(){
        return new TestB(22,"TestBB");
    }
}
